package math8;

public class Student {
    private String name;
    private String gender;
    private int age;
    private double score;
    public Student(){
        System.out.println("I am student init()!");
    }
    {
        this.name = "tan";
        this.gender = "man";
        this.age = 12;
        this.score = 100;
        System.out.println("I an Student init()！");
    }
    public void show(){
        System.out.println("name"+name+"age"+age+"gender"+gender);
    }

/*
    public static void main(String[] args) {
        {
            int x=10;
            System.out.println("x1="+x);
        }
        int x=1000;
        System.out.println("x2="+x);

    }
    /*
    public String name;
    public String gender;
    public int age;
    public double score;
    public static String classRoom = "Bit123";

    public statc ivoid main(String[] args) {
        System.out.println(Student.classRoom);
    }
    */
}

